<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin:0;
            padding:0;
        }
        body{
            background-color: #eee;
        }
        
        .container{
            width: 1200px;
            margin: 0 auto;
        }

        .container ul{
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
        }
        .container ul li{
            position: relative;
            list-style: none;
            width: 290px;
            height: 400px;
            background-color: #fff;
            margin-right: 9px;
            margin-top:10px;
        }
        .container ul li:nth-child(4n){
            margin-right: 0;
        }

        .container ul li a img{
            height: 300px;
            margin-top : 10px;
            margin-left: 51px;
        }
        .container ul li a .text{
            width: 100%;
            text-align: center;
        }
        .container ul li a .text .name{
            display: block;
            color: #000;
            font-size: 16px;
            margin-bottom: 2px;
        }
        .container ul li a .text .desc{
            display: block;
            color: #999;
            font-size: 16px;
        }
        .container ul li a .text .price{
            display: block;
            color: #f50a0a;
            font-size: 16px;
            font-weight: bold;
            padding-left: 20px;
        }

        .product-sign{ 
            position: absolute;
            top: 10px;
            left: 10px;
            display: block;
            width: 50px;
            height: 20px;
            line-height: 20px;
            text-align: center;
            color: #fff;
            background-color: #f50a0a;
            border-radius: 50px;
        }
    </style>

</head>
<body>
    <div class="container"> 
        <ul>
            <li>
                <a href="#">
                    <img src="https://picsum.photos/200/300" alt=""></img>
                    <div  class="text">
                        <span class="name">魅族 18</span>
                        <span class="desc">限时领卷zhi最高sheng 1000|12免息</span>
                        <span class="price"><i>￥</i>3999<em>起</em></span>
                    </div>
                    <span class="product-sign">免息</span>
                </a>
            </li>
            <li>
                <a href="#">
                    <img src="https://picsum.photos/200/300" alt=""></img>
                    <div  class="text">
                        <span class="name">魅族 18</span>
                        <span class="desc">限时领卷zhi最高sheng 1000|12免息</span>
                        <span class="price"><i>￥</i>3999<em>起</em></span>
                    </div>
                    <span class="product-sign">免息</span>
                </a>
            </li>
            <li>
                <a href="#">
                    <img src="https://picsum.photos/200/300" alt=""></img>
                    <div  class="text">
                        <span class="name">魅族 18</span>
                        <span class="desc">限时领卷zhi最高sheng 1000|12免息</span>
                        <span class="price"><i>￥</i>3999<em>起</em></span>
                    </div>
                    <span class="product-sign">免息</span>
                </a>
            </li>
            <li>
                <a href="#">
                    <img src="https://picsum.photos/200/300" alt=""></img>
                    <div  class="text">
                        <span class="name">魅族 18</span>
                        <span class="desc">限时领卷zhi最高sheng 1000|12免息</span>
                        <span class="price"><i>￥</i>3999<em>起</em></span>
                    </div>
                    <span class="product-sign">免息</span>
                </a>
            </li>
        </ul>
    </div>
</body>
</html>